package com.luoyuanxiangvip.common.vo.support;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 查询分页处理
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019/7/5
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "QueryPage对象", description = "分页处理")
public class QueryPage implements Serializable {
    private static final long serialVersionUID = -1433901755640832308L;

    @ApiModelProperty(value = "当前页码")
    private int page = 1;

    @ApiModelProperty(value = "每页条数")
    private int limit = 10;
}
